﻿#SingleInstance, Force
hMod := DllCall("LoadLibrary", str, A_ScriptDir "\uSkinFree.dll")
a := DllCall( "uSkinFree.dll\USkinInit", Int,0, Int,0, AStr, A_ScriptDir "\Skins\TheSkinFile.u3")
OnExit, QuitScript

Gui, Add, Text,   x5  y3  w320 h50 0x4
Gui, Add, Slider, x5  y+1 w320 h24 Thick21, 25
Gui, Add, Button, x16 y+5 w40 h24 , Open
Gui, Add, Button, x+1 w30 h24 , <
Gui, Add, Button, x+1 w40 h24 , >
Gui, Add, Button, x+1 w30 h24 ,|<
Gui, Add, Button, x+1 w30 h24 , >|
Gui, Add, Button, x+1 w30 h24 , PL
Gui, Show, x448 y204 w330 h136, Skan's MP3 Player
Return

QuitScript:
GuiClose:
GuiEscape:
   Gui, Hide
   DllCall( "uSkinFree.dll\USkinExit" )
   ExitApp
Return